package com.edu.exam.enums.exampaper.review;

import com.edu.exam.enums.core.BaseEnum;

/**
 * 相似度类型枚举
 */
public enum SimilarityType implements BaseEnum {
    TEXT_SIMILARITY("TEXT_SIMILARITY", "文本相似度"),
    STRUCTURE_SIMILARITY("STRUCTURE_SIMILARITY", "结构相似度"),
    CONTENT_SIMILARITY("CONTENT_SIMILARITY", "内容相似度"),
    SEMANTIC_SIMILARITY("SEMANTIC_SIMILARITY", "语义相似度"),
    LEXICAL_SIMILARITY("LEXICAL_SIMILARITY", "词汇相似度"),
    SYNTACTIC_SIMILARITY("SYNTACTIC_SIMILARITY", "句法相似度"),
    PLAGIARISM("PLAGIARISM", "抄袭"),
    DUPLICATION("DUPLICATION", "重复"),
    MATCHING("MATCHING", "匹配"),
    ANALOGY("ANALOGY", "类比"),
    PARAPHRASE("PARAPHRASE", "改写"),
    TRANSLATION("TRANSLATION", "翻译"),
    QUOTE("QUOTE", "引用"),
    REFERENCE("REFERENCE", "参考"),
    ORIGINAL("ORIGINAL", "原创");

    private final String code;
    private final String description;

    SimilarityType(String code, String description) {
        this.code = code;
        this.description = description;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDescription() {
        return description;
    }
}
